<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="common :: common_header(~{::title},~{})">
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<div th:replace="~{index :: top}"></div>
	<div class="container">
		<div class="col-md-2" th:replace="~{common :: common_left}">
			<div class="panel panel-default">
				<div class="list-group">
					<a href="#" class="list-group-item">资产总览</a>
				</div>
			</div>
			<div class="panel panel-default">
				<div class="panel-heading">轻松理财</div>
				<div class="list-group">
					<a href="#" class="list-group-item">投资记录</a>
				</div>
			</div>
			<div class="panel panel-default">
				<div class="panel-heading">奖励管理</div>
				<div class="list-group">
					<a href="#" class="list-group-item">优惠卷</a>
					<a href="#" class="list-group-item">邀请好友</a>
					<a href="#" class="list-group-item">我的积分</a>
				</div>
			</div>
			<div class="panel panel-default">
				<div class="panel-heading">账户管理</div>
				<div class="list-group">
					<a href="#" th:href="@{/user/securityCenter}" class="list-group-item">账户设置</a>
					<a href="#" class="list-group-item">安全设置</a>
					<a href="#" class="list-group-item">消息</a>
				</div>
			</div>
		</div>
		<div class="col-md-10">
			<div class="panel panel-default">
				<div class="panel-body">
					<div class="row">
						<div class="col-md-3"></div>
						<div class="col-md-6">
							<p>下午好,<span th:text="${#authentication.name}">XXX</span> 来杯热茶，让精神颤抖起来！</p>
							<div class="row">
								<div class="col-md-6">
									<p><label>用户名</label><span th:text="${#authentication.name}"></span></p>
									<p></p>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			
			<div class="panel panel-default">
				<div class="panel-body">
					<div class="row">
						<div class="col-md-4">
							<p>00.00</p>
							<p>累计收益(元)</p>
						</div>
						<div class="col-md-4">
							<p>00.00</p>
							<p>资产总额(元)</p>
						</div>
						<div class="col-md-4">
							<p>0.00</p>
							<p>昨日收益(元)</p>
						</div>
					</div>
				</div>
			</div>
			
			<div class="row">
				<div class="col-md-8"></div>
				<div class="col-md-4">
					<div class="panel panel-default">
						<div class="panel-body">
							<div th:if="${memberStatus.openAccount}">
								<p class="text-primary text-center">88.25</p>
								<p class="text-center">可用余额(元)</p>
								<div class="row">
									<div class="col-md-6"></div>
									<div class="col-md-6"></div>
								</div>
								<div class="center-block">
									<div class="col-md-6" style="padding-left: 0px;padding-right: 0px;">
										<a href="#" th:href="@{/user/recharge}" class="btn btn-primary btn-block">充值</a>
									</div>
									<div class="col-md-6" style="padding-left: 0px;padding-right: 0px;">
										<a href="#" th:href="@{/user/withdraw}" class="btn btn-default btn-block">提现</a>
									</div>
								</div>
								<div>
									<p class="text-center"><a href="#" th:href="@{/Fund/activity}">查看交易记录</a></p>
								</div>
							</div>
							<div th:unless="${memberStatus.openAccount}">
								<a href="#" th:href="@{/user/openAccount}" class="btn btn-deault">开通托管账户</a>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>